/**
 * 
 */

function iftest2(){
	var bt = document.getElementById('btn');
	var f;
	bt.onclick = function(){
		f = document.frm;
		var s1 = Number(f.sco1.value);
		var s2 = Number(f.sco2.value);
		var r = s1+s2;
		alert("평균"+(r/2)+"합계"+r);
	}
}